<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$smarty.const.Site_Name}</title>
<link href="css/public.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="Js/string.js"></script>
<script type="text/javascript" src="Js/menu.js"></script>
<script type="text/javascript" src="Js/orders.js"></script>
<script type="text/javascript" src="Js/exec.js"></script>
</head>

<body>
{if $get.action == 'show'}
<div id="print">
	<table width="100%" border="0" cellspacing="1" cellpadding="0">
		<tr>
			<th width="120"><img src="images/logo.jpg" width="120" height="83" /></th>
			<th colspan="3"><h1>广利网 出货单</h1></th>
		</tr>
	</table>
	<table width="100%" class="Ord" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td align="right">单位名称</td>
			<td colspan="3"></td>
		</tr>
		<tr>
			<td align="right">联系人</td>
			<td></td>
			<td align="right">下单时间</td>
			<td></td>
		</tr>
		<tr>
			<td align="right">订单编号</td>
			<td></td>
			<td align="right">打印时间</td>
			<td></td>
		</tr>
	</table>
	<table width="100%" class="Products" border="0" cellspacing="0" cellpadding="0">
		<thead>
			<tr>
				<th>商品编号</th>
				<th>证书</th>
				<th>证书号</th>
				<th>产品详情</th>
				<th>数量</th>
				<th>重量</th>
				<th>单价</th>
				<th>销售价</th>
			</tr>
		</thead>
		<tbody align="center"></tbody>
	</table>
	<div class="Elses">
		<span style="margin:0 15em 0 0">经手人：</span>
		<span style="margin:0 25em 0 0">仓库：</span>
		<span>收货人：</span>
		<div>*白色：留底 红色：收货人 绿色：财务 黄色：留底</div>
	</div>
</div>
{/if}

{include file="header.html"}
<div class="center">
	<div class="left">{include file="menu.html"}</div>
	<div class="right">
		<div class="Nav">
			<div>
				订单状态
				<select onchange="page_Local(this,0 , '{write_url url=$thisurl action='show' DEL='status'}')">
					<option value="">全部订单</option>
					{foreach item=us key=uy from=$status}
					<option value="status={$uy}" {selected val=$get.status str=$uy}>{$us}</option>
					{/foreach}
				</select>
				订单查询
				<form method="get">
					<input name="open" type="hidden" value="{$get.open}" />
					<input name="action" type="hidden" value="show" />
					<input name="go" type="hidden" value="query" />
					<input name='info' type="text" style="width:280px" value="{$get.info|default:'订单号/代理|业务|客服(账号/编号/真实姓名)'}" onfocus="Pro_query(this,'订单号/代理|业务|客服(账号/编号/真实姓名)')" />
					<input type="submit" value="查询" class="submit" />
				</form>
				{if $get.go == 'query'}<a style="color:#093" href="{write_url url=$thisurl DEL='go,page,ORDER,info'}">返回列表</a>{/if}
			</div>
			<ul>
				{if $BTP[$get.open].to_csv}<li><a href="{write_url url=$thisurl action='to_csv' DEL='ALL'}" {CLASS_COLOR to_csv=$get.action CLASS='this'}>订单导出CSV</a></li>{/if}
				{if $BTP[$get.open].show}<li><a href="{write_url url=$thisurl action='show' DEL='id'}" {CLASS_COLOR show=$get.action CLASS='this'}>订单管理</a></li>{/if}
			</ul>
			<span class="clear"></span>
		</div>
		{include file="{$get.open}_{$get.action}.html"}
	</div>
	<b class="clear"></b>
</div>
</body>
</html>